/* header外盒子 */
header {
  line-height: 62px;
  color: #fff;
  background-color: #354c61;
  font-size: 0;
  position: fixed;
  width: 80%;
  top: 0;
  z-index: 998;
  height: 80px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* header内盒子 */
.header_inner {
  height: 100%;
  width: 1200px;
  position: relative;
  margin: 0 auto;
}

.out{
  right: 70px;
  top:   55px;
  height:40px;
  width: 75px;
}

/* 小A标志logo图片 */
header img {
  display: inline-block;
  line-height: 62px;
  height: 60%;
  vertical-align: middle;
}

/* A瓣标题 */
.header_title {
  display: inline-block;
  padding-left: 10px;
  margin-left: 10px;
  position: relative;
  font-size: 18px;
  vertical-align: top;
  font-weight: 600;
  width: 180px;
}

/* 小分隔线 */
.header_title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  height: 15px;
}

/* 导航栏外套 */
.navwrap {
  display: inline-block;
  vertical-align: top;
  font-size: 0;
}

/* 导航栏链接 */
.nav-link {
  display: inline-block;
  width: 68px;
  height: 62px;
  color: #fff;
  text-align: center;
}

/* 导航栏链接hover效果 */
.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

/* 导航栏中对应当前页的链接 */
.nav-link-active {
  font-weight: bold;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.header_right {
  float: right;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 14px;
}

/* header搜索外套 */
.header_search {
  font-size: 14px;
  height: 30px;
  margin-top: 16px;
  line-height: 30px;
  background-color: rgba(255, 255, 255, 0.22);
  padding: 0 35px 0 15px;
  border-radius: 15px;
  position: relative;
  margin-right: 15px;
}

#name-link {
  color: #fff;
}

/* 搜索input */
.header_search input {
  width: 50px;
  color: #fff;
  border: none;
  outline: none;
  height: 30px;
  background-color: transparent;
  -webkit-transition: width 300ms ease;
  -o-transition: width 300ms ease;
  transition: width 300ms ease;
}

/* 头像栏外套 */
.header_avatawrap {
  cursor: pointer;
  display: block;
  padding: 13px 20px;
  width: 76px;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.userpage {
  display: none;
  color: #000;
  width: 250px;
  height: 400px;
  text-align: center;
  flex-shrink: 0;
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
  position: relative;
}

.userpage li {
  display: block;
  width: 100%;
  height: 30px;
}

/* 头像栏外套hover */
.header_avatawrap:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

.header_avatawrap:hover .userpage {
  display: block;
}

/* 头像图片外套 */
.avata_img_wrap {
  width: 100%;
  height: 100%;
  vertical-align: top;
  border-radius: 100%;
  border: 2px solid #fff;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* 头像图片 */
.header_avatawrap img {
  height: 100%;
  position: absolute;
  top: 0;
}

.header_avatawrap:hover .avata_img_wrap {
  transform: translateY(25px) scale(1.5);
  transition: all 0.3s ease;
  border-color: #808080;
}

/* 退出登录 */
.signout {
  height: 70px;
  width: 90px;
  display: none;
  width: 100%;
  position: absolute;
  bottom: 0;
  line-height: 50px;
}

.signout:hover {
  background-color: #f0f0f5;
}